#ifndef CLIENT_H
#define CLIENT_H

#include "filesystem.h"
#include "directory.h"

#define MAXDATASIZE 100 // max number of bytes we can get at once

typedef struct userFileList
{
	char ipAddress[15];
	char fileNameList[MAX_CHILDREN][MAX_FILENAME_SIZE];
	char *fileList[MAX_CHILDREN];
} userFileList_t;


typedef struct foundFile
{
	char fileName[15];
	char* fileData;
} foundFile_t;

foundFile_t* query(char *queryString);

userFileList_t *userLists[33];
int listSize;

void ping(void);
userFileList_t* pingSingle(char* ip);

#endif
